#include "bejewled.h"

//used to test the bejewled, a cmmand line version
int main(){
    Bejewled bejewled;
    bejewled.dispaly();
    int i, j, a, b;
    cin >> i >> j >> a >> b;
    while(i != 5 && !bejewled.isOver()){
        bejewled.swap(i, j, a, b);
        cout << endl;
        bejewled.dispaly();
        cin >> i >> j  >> a >> b;
    }
}